<!doctype html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>sk4t</title>
    </head>
    <body>
        <textarea id="txt"></textarea>
        <script src="./src/sk4t.js"></script>
        <script>
            var txt=document.getElementById('txt');
            txt.onkeydown=function(e){
                if(e.keyCode==9){
                    sk4t(this).addTab(e);
                }
                if(e.keyCode==221&&e.ctrlKey){
                    sk4t(this).addLinesTab();
                }
                if(e.keyCode==219&&e.ctrlKey){
                    sk4t(this).rmLinesTab();
                }
            }
        </script>
    </body>
</html>